{% for name in single %}<input type="hidden" name="{{ name }}" />{% endfor %}{% for name, value in double.items %}<input type="hidden" value="{{ value }}" name="{{ name }}" />{% endfor %}